using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace HDS.Model.Entity.Master
{
    /// <summary>
    /// 供应商房型 
    /// </summary>
    [SugarTable("supplier_room")]
    public class SupplierRoom
    {

        /// <summary>
        /// 自增id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        public int Id { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>
        [SugarColumn(ColumnName = "supplier")]
        public string Supplier { get; set; }

        /// <summary>
        /// 供应商房型id
        /// </summary>
        [SugarColumn(ColumnName = "supplier_room_id")]
        public string SupplierRoomId { get; set; }

        /// <summary>
        /// 第三方房型id
        /// </summary>
        [SugarColumn(ColumnName = "third_party_id")]
        public string ThirdPartyId { get; set; }

        /// <summary>
        /// 供应商酒店id
        /// </summary>
        [SugarColumn(ColumnName = "supplier_hotel_id")]
        public string SupplierHotelId { get; set; }

        /// <summary>
        /// 英文房型名称
        /// </summary>
        [SugarColumn(ColumnName = "room_name_en")]
        public string RoomNameEn { get; set; }

        /// <summary>
        /// 中文房型名称
        /// </summary>
        [SugarColumn(ColumnName = "room_name_cn")]
        public string RoomNameCn { get; set; }

        /// <summary>
        /// 最大入住人数
        /// </summary>
        [SugarColumn(ColumnName = "max_occupancy")]
        public int MaxOccupancy { get; set; } = 2;

        /// <summary>
        /// 房型说明
        /// </summary>
        [SugarColumn(ColumnName = "room_desc")]
        public string RoomDesc { get; set; }

        /// <summary>
        /// 房型状态 1:有效,0:删除
        /// </summary>
        [SugarColumn(ColumnName = "room_status")]
        public bool RoomStatus { get; set; } = true;

        /// <summary>
        /// 更新时间
        /// </summary>
        [SugarColumn(ColumnName = "updated_time")]
        public DateTime UpdatedTime { get; set; }

    }
}
